<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>说明</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.newt-win-entries" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">newt_win_entries</h1>
  <p class="verinfo">(PECL newt &gt;= 0.1)</p><p class="refpurpose"><span class="refname">newt_win_entries</span> &mdash; <span class="dc-title">
 </div>
 <div class="refsect1 description" id="refsect1-function.newt-win-entries-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>newt_win_entries</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$title</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$text</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$suggested_width</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$flex_down</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$flex_up</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$data_width</code></span>
   , <span class="methodparam"><span class="type">array</span> <code class="parameter reference">&$items</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$button1</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$...</code></span>
  ] ) : <span class="type">int</span></div>


  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.newt-win-entries-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">title</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">text</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">suggested_width</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">flex_down</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">flex_up</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">data_width</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">items</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">button1</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">button2</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.newt-win-entries-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.newt-win-entries-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-692">
    <p><strong>Example #1 A <span class="function"><strong>newt_win_entries()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />newt_init</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">newt_cls</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">$entries</span><span style="color: #007700">[]&nbsp;=&nbsp;array(</span><span style="color: #DD0000">'text'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'First&nbsp;name:'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'value'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;&amp;</span><span style="color: #0000BB">$f_name</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$entries</span><span style="color: #007700">[]&nbsp;=&nbsp;array(</span><span style="color: #DD0000">'text'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Last&nbsp;name:'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #DD0000">'value'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;&amp;</span><span style="color: #0000BB">$l_name</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$rc&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">newt_win_entries</span><span style="color: #007700">(</span><span style="color: #DD0000">"User&nbsp;information"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Please&nbsp;enter&nbsp;your&nbsp;credentials:"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">50</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">7</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">7</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">30</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$entries</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Ok"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Back"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">newt_finished&nbsp;</span><span style="color: #007700">();<br /><br />if&nbsp;(</span><span style="color: #0000BB">$rc&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Your&nbsp;name&nbsp;is:&nbsp;</span><span style="color: #0000BB">$f_name</span><span style="color: #DD0000">&nbsp;</span><span style="color: #0000BB">$l_name</span><span style="color: #DD0000">\n"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
    </div>

   </div>
  </p>
 </div>


</div></div></div></body></html>